package com.example.d12_homework.homework01;

/**
 * 青蛙类
 */
public class Frog extends Animal implements Swimmer {
    @Override
    public void eat() {
        System.out.println("青蛙吃虫子");
    }

    @Override
    public void swimming() {
        System.out.println("游泳(蛙泳)");
    }
}
